home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1999 November / cd joystick no109 novembre 1999.iso / Data / sharewares / utilitaires / XQXSET50.ZIP / _SETUP.1 / XQ IIS Admin Info.xpl < prev    next >
Text File  |  1998-08-08  |  1KB  |  42 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 3.1"
  2. "TYPE"="1"
  3. "COUNT"="2"
  4. "UIPATH"="Internet\Internet Information Server"
  5. "NAME"="Admin Information"
  6. "LANGUAGE"="VBScript"
  7. "TEXT 1"="Name"
  8. "TEXT 2"="EMail"
  9. "DESCRIPTION 1"="Use this plug-in to change the information of the administrator of this server."
  10. "AUTHOR"="Xteq Systems"
  11. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  12. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@gmx.net."
  13. "COMMENT 2"="Version 1.1"
  14.  
  15.  
  16. sP="HKLM\System\CurrentControlSet\Services\W3SVC\Parameters\"
  17. Sub Plugin_Initialize 
  18.  if RegPathExists(sp) then
  19.   s=RegReadValue(sp&"AdminName")
  20.   SetUIElement 1,s
  21.  
  22.   s=RegReadValue(sp&"AdminEmail")
  23.   SetUIElement 2,s
  24.  else
  25.   Disable
  26.  end if
  27. End Sub
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  s=GetUIElement(1)
  34.  Call RegWriteValue(sp&"AdminName",s,1)
  35.  
  36.  s=GetUIElement(2)
  37.  Call RegWriteValue(sp&"AdminEmail",s,1)
  38. End Sub
  39.  
  40. Sub Plugin_Terminate 
  41. End Sub
  42.